var APPID = 'wxe67a7c31e215f329';//wxe67a7c31e215f329
var APPNAME = '';
var AMapKey = 'ca26a233a20c01e99567fdee8516e534';
var myAmapFun = null;
var ORG = '88621533';//88621533
var VERSION = '1.0.0';
// 开发模式
const DebugRunType = 'Debug';
// 生产模式
const ReleaseRunType = 'Release';
const RunType = DebugRunType;
let HOST_URL_OBJ = uni.getStorageSync('HOST_URL_OBJ');
var HOST_URL = 'https://ftcloudm.bus365.cn';
if (HOST_URL_OBJ == null || HOST_URL_OBJ == '') {
    HOST_URL = 'https://ftcloudm.bus365.cn';
} else {
    HOST_URL = HOST_URL_OBJ.url;
}
if (RunType == ReleaseRunType) {
	// #ifdef H5
	 HOST_URL =document.location.origin
	// #endif
	HOST_URL='https://ftcloudm.bus365.cn';
   
}
const SELFDRIVINGHOST_URL = HOST_URL + "/selfdrivingtravel/service"; //自驾游
//系统参数路径
const commonApi = {
    HOST_URL,
    RunType,
    DebugRunType,
    ReleaseRunType,
	//小程序登录请求路由
	miniProgram_url: HOST_URL + '/bus/interface/miniProgram/login',
	qqAndroidLogin_url: HOST_URL + '/useraction/weixxloginfordistribution',
		
}
const agreementApi = {
	 rentcar_user_service_url: SELFDRIVINGHOST_URL + '/agreementaction/detail?org=' + ORG + '&code=QNT_User_Service',
	 rentcar_taix_service_url: SELFDRIVINGHOST_URL + '/agreementaction/detail?org=' + ORG + '&code=QNT_Taix_Service',
}
module.exports = {
    APPID,
    APPNAME,
	commonApi,
	agreementApi 
  
};
